<table border="1">
 <tr>
 <td><p align="center"><i><b>Login</b></i></td>
 <td><p align="center"><i><b>Name</b></i></td>
 <td><p align="center"><i><b>Admin?</b></i></td>

 </tr>
 
 <% @users.each do |user| %>
  
  <tr>
 <td>
   <%=h user.login %>
   <font size=-1>
   <%= link_to "(set password)", 
   {:action => "set_password", :id => user.id}%>
   <%= link_to "(change details)", edit_user_path(user)%>
   <%= link_to "(delete)", user_path(user.id), :method => :delete,
   :confirm => "Really delete #{user.login}?" %>
   </font>
 </td>
 <td>
   <%=h user.name%>
 </td>
 <td>
   <%=h user.admin? ? "Yes" : "No" %>
 </td> 
 <% end %>
</table>

<%= link_to "New user", "/signup"%>

